package com.策略模式2;

/**
 * @author: wh(1835734390 @ qq.com)
 * @date: 2022/10/27 13:35
 * @description:
 * @version:
 */
@Component
public class FirstImpl implements InterfaceDemo {
    @Override
    public void print(String name) {
        System.out.println("按照规则一打印："+name);
    }

    @Override
    public EnumDemo getEnum() {
        return EnumDemo.FIRST;
    }
}

